﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Wq.ManagerService.Models
{
    /// <summary>
    /// 站点配置
    /// </summary>
    public class SiteSetting
    {
        /// <summary>
        /// 站点名称
        /// </summary>
        public string SiteName { get; set; } = "会找找";
        /// <summary>
        /// 静态文件地址
        /// </summary>
        public string FileDomain { get; set; }

        /// <summary>
        /// 腾讯地图
        /// </summary>
        public string TencentMapKey { get; set; }

        /// <summary>
        /// 阿里短信配置
        /// </summary>
        public SMSSetting SMSetting { get; set; } = new SMSSetting();

        /// <summary>
        /// 注册赠送提问条数
        /// </summary>
        public int GiveAsk { get; set; }

        public AppletSetting AppletSetting { get; set; } = new AppletSetting();
    }

    public class AppletSetting
    {
        /// <summary>
        /// 小程序AppId
        /// </summary>
        public string AppId { get; set; } = "wx4232e2f5c2da19b4";
        /// <summary>
        /// 小程序AppSecret
        /// </summary>
        public string AppSecret { get; set; } = "b8784c61a312c4af989cc7b3f76f8393";
    }

    /// <summary>
    /// 阿里短信配置
    /// </summary>
    public class SMSSetting
    {
        /// <summary>
        ///AccessKeyId
        /// </summary>
        public string AccessKeyId { get; set; } = "LTAI5tF5A78RcjxJa78m53B2";
        /// <summary>
        /// AccessKeySecret
        /// </summary>
        public string AccessKeySecret { get; set; } = "o78mbyaytoGIG1h0JBCIM86wiK3MoZ";
        /// <summary>
        /// 短信签名名称
        /// </summary>
        public string SignName { get; set; } = "汪强的博客";

        /// <summary>
        /// 验证码模板ID
        /// </summary>
        public string CodeTemplateID { get; set; } = "SMS_461150014";

       
    }
}
